package com.ltt.service;

import com.ltt.dao.pojo.Group;
import com.ltt.dao.pojo.LastChat;

import java.util.List;

public interface GroupService {
    List<Group> findAllGroupById(String openId);

    boolean exitGroup(String groupId, String openId);

    LastChat getLastChat(String groupId);

    boolean addGroup(int groupId, String openId, int isA);

    Group findGroupById(String groupId,String openId);

    boolean updateGroupItem(Group group);

    List<Group> findAllGroup(String openId);

    boolean insert(Group group, String openId);
}
